[INFO] cloning repository https://github.com/rainapepe/rust-nes-emulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rainapepe/rust-nes-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainapepe%2Frust-nes-emulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainapepe%2Frust-nes-emulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e8996ebf80ac158608031cf3916796b205cdac6
[INFO] building rainapepe/rust-nes-emulator against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainapepe%2Frust-nes-emulator" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rainapepe/rust-nes-emulator on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rainapepe/rust-nes-emulator
[INFO] finished tweaking git repo https://github.com/rainapepe/rust-nes-emulator
[INFO] tweaked toml for git repo https://github.com/rainapepe/rust-nes-emulator written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/rainapepe/rust-nes-emulator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.73.0
[INFO] [stderr]   Downloaded piston v0.53.0
[INFO] [stderr]   Downloaded piston_window v0.120.0
[INFO] [stderr]   Downloaded piston2d-graphics v0.40.0
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.53.0
[INFO] [stderr]   Downloaded spin_sleep v1.0.0
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.78.0
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.69.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 108d98c043f155bb69cede596f949201d28ecc7c85d03d79db6733c3f03d6690
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "108d98c043f155bb69cede596f949201d28ecc7c85d03d79db6733c3f03d6690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "108d98c043f155bb69cede596f949201d28ecc7c85d03d79db6733c3f03d6690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "108d98c043f155bb69cede596f949201d28ecc7c85d03d79db6733c3f03d6690", kill_on_drop: false }`
[INFO] [stdout] 108d98c043f155bb69cede596f949201d28ecc7c85d03d79db6733c3f03d6690
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3e03176a3b539a61262f1eb29367c10e27e28559994906afc6b4f3a46edf666
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c3e03176a3b539a61262f1eb29367c10e27e28559994906afc6b4f3a46edf666", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.93
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling ttf-parser v0.6.2
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.4
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling syn v1.0.70
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.0
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling bytemuck v1.5.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling spin_sleep v1.0.0
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling lock_api v0.4.3
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling nom v6.1.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling memoffset v0.6.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling gif v0.11.2
[INFO] [stderr]    Compiling wayland-sys v0.28.5
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling owned_ttf_parser v0.6.0
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling rusttype v0.9.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling piston2d-graphics v0.40.0
[INFO] [stderr]    Compiling wayland-scanner v0.28.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling xcursor v0.3.3
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling wayland-client v0.28.5
[INFO] [stderr]    Compiling wayland-protocols v0.28.5
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling wayland-commons v0.28.5
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling wayland-cursor v0.28.5
[INFO] [stderr]    Compiling wayland-egl v0.28.5
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.78.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.73.0
[INFO] [stderr]    Compiling pistoncore-input v1.0.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling pistoncore-window v0.47.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.53.0
[INFO] [stderr]    Compiling piston v0.53.0
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling glutin v0.26.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.69.0
[INFO] [stderr]    Compiling piston_window v0.120.0
[INFO] [stderr]    Compiling rust-nes-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `cpu::Cpu6502`
[INFO] [stdout]  --> src/bus.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{cpu::Cpu6502, pad::Pad};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::video::Pixel`
[INFO] [stdout]  --> src/ppu/clock_helpers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::video::Pixel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/video/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cpu6502`, `Flags6502`
[INFO] [stdout]  --> src/video/utils.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::cpu::{Cpu6502, Flags6502};
[INFO] [stdout]   |                  ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer`, `Rgb`, `Rgba`
[INFO] [stdout]   --> src/video/video.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use image::{ImageBuffer, Rgb, Rgba};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]   --> src/cpu/helpers.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut value: u8 = 0;
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lo` is never read
[INFO] [stdout]   --> src/cpu/helpers.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut lo: u8 = 0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]   --> src/cpu/helpers.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut hi: u8 = 0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut value: u8 = 0;
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lo` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut lo: u8 = 0;
[INFO] [stdout]     |                 ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut hi: u8 = 0;
[INFO] [stdout]     |                 ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `line_addr` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:129:17
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let mut line_addr: u16 = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:171:21
[INFO] [stdout]     |
[INFO] [stdout] 171 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:23:54
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn cpu_map_write(mapper: &mut Mapper, addr: u16, data: u8) -> (bool, u32) {
[INFO] [stdout]    |                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mapper`
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn ppu_map_read(mapper: &mut Mapper, addr: u16) -> (bool, u32) {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_bits_lo` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:329:29
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     let mut sprite_pattern_bits_lo: u8 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_bits_hi` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:330:29
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     let mut sprite_pattern_bits_hi: u8 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_addr_lo` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:331:29
[INFO] [stdout]     |
[INFO] [stdout] 331 |                     let mut sprite_pattern_addr_lo: u16 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_addr_hi` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:332:29
[INFO] [stdout]     |
[INFO] [stdout] 332 |                     let mut sprite_pattern_addr_hi: u16 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]   --> src/video/video.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn on_start(&mut self, window: &mut PistonWindow, texture_context: &mut G2dTextureContext) {}
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_context`
[INFO] [stdout]   --> src/video/video.rs:18:55
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn on_start(&mut self, window: &mut PistonWindow, texture_context: &mut G2dTextureContext) {}
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_context`
[INFO] [stdout]   --> src/video/video.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn update_textures(&mut self, texture_context: &mut G2dTextureContext) {}
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/video/video.rs:26:35
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn on_buttom_press(&mut self, key: Key) {}
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/video/video.rs:28:37
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn on_buttom_release(&mut self, key: Key) {}
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cartridge/load_file.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut buffer = slice::from_raw_parts_mut(&mut data2 as *mut T as *mut u8, num_bytes);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `empty`
[INFO] [stdout]   --> src/cartridge/load_file.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn empty() -> Cartridge {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/cartridge/memory_access.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn reset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/cartridge/memory_access.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn reset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `OneScreenLo`
[INFO] [stdout]  --> src/cartridge/types.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     OneScreenLo,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `OneScreenHi`
[INFO] [stdout]  --> src/cartridge/types.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     OneScreenHi,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ACC`
[INFO] [stdout]   --> src/cpu/addres_mode.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ACC,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pc_back`
[INFO] [stdout]    --> src/cpu/cpu6502.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn pc_back(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `write_16b`
[INFO] [stdout]    --> src/cpu/cpu6502.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn write_16b(&mut self, addres: u16, data: u16) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `load`
[INFO] [stdout]    --> src/cpu/cpu6502.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn load(&mut self, addres: u16, data: Vec<u8>) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `irq`
[INFO] [stdout]   --> src/cpu/external_inputs.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn irq(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `disassemble`
[INFO] [stdout]    --> src/cpu/helpers.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn disassemble(&mut self, start: u16, stop: u16) -> HashMap<u16, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `GAME_CODE`
[INFO] [stdout]   --> src/custom_game/snake_game/code.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / pub const GAME_CODE: [u8; 309] = [
[INFO] [stdout] 4  | |     /*
[INFO] [stdout] 5  | |     0x0   0x1   0x2   0x3   0x4   0x5   0x6   0x7   0x8   0x9   0xA   0xB   0xC   0xD   0xE   0xF */
[INFO] [stdout] 6  | |     0x20, 0x06, 0x06, 0x20, 0x38, 0x06, 0x20, 0x0d, 0x06, 0x20, 0x2a, 0x06, 0x60, 0xa9, 0x02, 0x85,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |     0xea, 0xca, 0xd0, 0xfb, 0x60,
[INFO] [stdout] 26 | | ];
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]    --> src/custom_game/snake_game/mod.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub fn new() -> SnakeGame {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `start`
[INFO] [stdout]    --> src/custom_game/snake_game/mod.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |     pub fn start(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/mapper/mapper.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn reset(&self) {}
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_type`
[INFO] [stdout]   --> src/mapper/mapper.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn get_type(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/pad.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_reg`
[INFO] [stdout]   --> src/pad.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn get_reg(&mut self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_screen`
[INFO] [stdout]   --> src/ppu/output.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn get_screen<'a>(&'a self) -> &'a Frame {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]    --> src/ppu/ppu2C02.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_unused`
[INFO] [stdout]   --> src/ppu/registers.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn get_unused(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_unused`
[INFO] [stdout]   --> src/ppu/registers.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn set_unused(&mut self, data: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_sprite_overflow`
[INFO] [stdout]   --> src/ppu/registers.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn get_sprite_overflow(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_sprite_zero_hit`
[INFO] [stdout]   --> src/ppu/registers.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn get_sprite_zero_hit(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_vertical_blank`
[INFO] [stdout]   --> src/ppu/registers.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn get_vertical_blank(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_grayscale`
[INFO] [stdout]   --> src/ppu/registers.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn set_grayscale(&mut self, data: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_background_left`
[INFO] [stdout]   --> src/ppu/registers.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn set_render_background_left(&mut self, data: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_sprites_left`
[INFO] [stdout]   --> src/ppu/registers.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn set_render_sprites_left(&mut self, data: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_background`
[INFO] [stdout]    --> src/ppu/registers.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn set_render_background(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_sprites`
[INFO] [stdout]    --> src/ppu/registers.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn set_render_sprites(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_enhance_red`
[INFO] [stdout]    --> src/ppu/registers.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn get_enhance_red(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enhance_red`
[INFO] [stdout]    --> src/ppu/registers.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn set_enhance_red(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_enhance_green`
[INFO] [stdout]    --> src/ppu/registers.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn get_enhance_green(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enhance_green`
[INFO] [stdout]    --> src/ppu/registers.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub fn set_enhance_green(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_enhance_blue`
[INFO] [stdout]    --> src/ppu/registers.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn get_enhance_blue(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enhance_blue`
[INFO] [stdout]    --> src/ppu/registers.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub fn set_enhance_blue(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_nametable_x`
[INFO] [stdout]    --> src/ppu/registers.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn set_nametable_x(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_nametable_y`
[INFO] [stdout]    --> src/ppu/registers.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 170 |     pub fn set_nametable_y(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_increment_mode`
[INFO] [stdout]    --> src/ppu/registers.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 |     pub fn set_increment_mode(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_pattern_sprite`
[INFO] [stdout]    --> src/ppu/registers.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn set_pattern_sprite(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_pattern_background`
[INFO] [stdout]    --> src/ppu/registers.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub fn set_pattern_background(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_sprite_size`
[INFO] [stdout]    --> src/ppu/registers.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn set_sprite_size(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_slave_mode`
[INFO] [stdout]    --> src/ppu/registers.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn get_slave_mode(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_slave_mode`
[INFO] [stdout]    --> src/ppu/registers.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub fn set_slave_mode(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enable_nmi`
[INFO] [stdout]    --> src/ppu/registers.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub fn set_enable_nmi(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_unused`
[INFO] [stdout]    --> src/ppu/registers.rs:288:12
[INFO] [stdout]     |
[INFO] [stdout] 288 |     pub fn get_unused(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_unused`
[INFO] [stdout]    --> src/ppu/registers.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 292 |     pub fn set_unused(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `PIXEL_SIZE`
[INFO] [stdout]   --> src/video/frame.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | const PIXEL_SIZE: f64 = 2.3;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_border`
[INFO] [stdout]   --> src/video/frame.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn set_border(&mut self, color: Pixel) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `render`
[INFO] [stdout]   --> src/video/frame.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn render(&self, x: usize, y: usize, pixel_size: f64, context: Context, gl: &mut G2d) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `white`
[INFO] [stdout]  --> src/video/pixel.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn white() -> Pixel {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `red`
[INFO] [stdout]   --> src/video/pixel.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn red() -> Pixel {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `green`
[INFO] [stdout]   --> src/video/pixel.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn green() -> Pixel {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `blue`
[INFO] [stdout]   --> src/video/pixel.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn blue() -> Pixel {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `with_font_size`
[INFO] [stdout]   --> src/video/utils.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn with_font_size(font_size: usize, x: usize, y: usize, c: Context) -> DrawText {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     if addr >= 0x8000 && addr <= 0xFFFF {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     if addr >= 0x8000 && addr <= 0xFFFF {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     if addr >= 0 && addr <= 0x1FFF {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     if addr >= 0x0000 && addr <= 0x1FFF {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `ppu2C02` should have a snake case name
[INFO] [stdout]  --> src/ppu/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod ppu2C02;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `ppu2_c02`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 89 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "c3e03176a3b539a61262f1eb29367c10e27e28559994906afc6b4f3a46edf666", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3e03176a3b539a61262f1eb29367c10e27e28559994906afc6b4f3a46edf666", kill_on_drop: false }`
[INFO] [stdout] c3e03176a3b539a61262f1eb29367c10e27e28559994906afc6b4f3a46edf666
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4070251ecb00708052e1c2478841e241ccd73b8ff64a3b01cdb1484f278c8a36
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4070251ecb00708052e1c2478841e241ccd73b8ff64a3b01cdb1484f278c8a36", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-nes-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `cpu::Cpu6502`
[INFO] [stdout]  --> src/bus.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::{cpu::Cpu6502, pad::Pad};
[INFO] [stdout]   |             ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::video::Pixel`
[INFO] [stdout]  --> src/ppu/clock_helpers.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::video::Pixel;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/video/utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cpu6502`, `Flags6502`
[INFO] [stdout]  --> src/video/utils.rs:6:18
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::cpu::{Cpu6502, Flags6502};
[INFO] [stdout]   |                  ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer`, `Rgb`, `Rgba`
[INFO] [stdout]   --> src/video/video.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use image::{ImageBuffer, Rgb, Rgba};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]   --> src/cpu/helpers.rs:36:17
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mut value: u8 = 0;
[INFO] [stdout]    |                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lo` is never read
[INFO] [stdout]   --> src/cpu/helpers.rs:37:17
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let mut lo: u8 = 0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]   --> src/cpu/helpers.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let mut hi: u8 = 0;
[INFO] [stdout]    |                 ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `value` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let mut value: u8 = 0;
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `lo` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |         let mut lo: u8 = 0;
[INFO] [stdout]     |                 ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:125:17
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let mut hi: u8 = 0;
[INFO] [stdout]     |                 ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `line_addr` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:129:17
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let mut line_addr: u16 = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:153:21
[INFO] [stdout]     |
[INFO] [stdout] 153 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:159:21
[INFO] [stdout]     |
[INFO] [stdout] 159 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:171:21
[INFO] [stdout]     |
[INFO] [stdout] 171 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `hi` is never read
[INFO] [stdout]    --> src/cpu/helpers.rs:177:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |                     hi = 0x00;
[INFO] [stdout]     |                     ^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:23:54
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn cpu_map_write(mapper: &mut Mapper, addr: u16, data: u8) -> (bool, u32) {
[INFO] [stdout]    |                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mapper`
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn ppu_map_read(mapper: &mut Mapper, addr: u16) -> (bool, u32) {
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mapper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_bits_lo` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:329:29
[INFO] [stdout]     |
[INFO] [stdout] 329 |                     let mut sprite_pattern_bits_lo: u8 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_bits_hi` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:330:29
[INFO] [stdout]     |
[INFO] [stdout] 330 |                     let mut sprite_pattern_bits_hi: u8 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_addr_lo` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:331:29
[INFO] [stdout]     |
[INFO] [stdout] 331 |                     let mut sprite_pattern_addr_lo: u16 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `sprite_pattern_addr_hi` is never read
[INFO] [stdout]    --> src/ppu/clock.rs:332:29
[INFO] [stdout]     |
[INFO] [stdout] 332 |                     let mut sprite_pattern_addr_hi: u16 = 0;
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window`
[INFO] [stdout]   --> src/video/video.rs:18:28
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn on_start(&mut self, window: &mut PistonWindow, texture_context: &mut G2dTextureContext) {}
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_context`
[INFO] [stdout]   --> src/video/video.rs:18:55
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn on_start(&mut self, window: &mut PistonWindow, texture_context: &mut G2dTextureContext) {}
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `texture_context`
[INFO] [stdout]   --> src/video/video.rs:20:35
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn update_textures(&mut self, texture_context: &mut G2dTextureContext) {}
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/video/video.rs:26:35
[INFO] [stdout]    |
[INFO] [stdout] 26 |     fn on_buttom_press(&mut self, key: Key) {}
[INFO] [stdout]    |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/video/video.rs:28:37
[INFO] [stdout]    |
[INFO] [stdout] 28 |     fn on_buttom_release(&mut self, key: Key) {}
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cartridge/load_file.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let mut buffer = slice::from_raw_parts_mut(&mut data2 as *mut T as *mut u8, num_bytes);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `empty`
[INFO] [stdout]   --> src/cartridge/load_file.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn empty() -> Cartridge {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/cartridge/memory_access.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn reset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/cartridge/memory_access.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub fn reset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `OneScreenLo`
[INFO] [stdout]  --> src/cartridge/types.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     OneScreenLo,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `OneScreenHi`
[INFO] [stdout]  --> src/cartridge/types.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     OneScreenHi,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `ACC`
[INFO] [stdout]   --> src/cpu/addres_mode.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 42 |     ACC,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `pc_back`
[INFO] [stdout]    --> src/cpu/cpu6502.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 |     pub fn pc_back(&mut self) -> u16 {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `write_16b`
[INFO] [stdout]    --> src/cpu/cpu6502.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn write_16b(&mut self, addres: u16, data: u16) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `load`
[INFO] [stdout]    --> src/cpu/cpu6502.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn load(&mut self, addres: u16, data: Vec<u8>) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `irq`
[INFO] [stdout]   --> src/cpu/external_inputs.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn irq(&mut self) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `disassemble`
[INFO] [stdout]    --> src/cpu/helpers.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn disassemble(&mut self, start: u16, stop: u16) -> HashMap<u16, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `GAME_CODE`
[INFO] [stdout]   --> src/custom_game/snake_game/code.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  | / pub const GAME_CODE: [u8; 309] = [
[INFO] [stdout] 4  | |     /*
[INFO] [stdout] 5  | |     0x0   0x1   0x2   0x3   0x4   0x5   0x6   0x7   0x8   0x9   0xA   0xB   0xC   0xD   0xE   0xF */
[INFO] [stdout] 6  | |     0x20, 0x06, 0x06, 0x20, 0x38, 0x06, 0x20, 0x0d, 0x06, 0x20, 0x2a, 0x06, 0x60, 0xa9, 0x02, 0x85,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |     0xea, 0xca, 0xd0, 0xfb, 0x60,
[INFO] [stdout] 26 | | ];
[INFO] [stdout]    | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]    --> src/custom_game/snake_game/mod.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 |     pub fn new() -> SnakeGame {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `start`
[INFO] [stdout]    --> src/custom_game/snake_game/mod.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 169 |     pub fn start(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/mapper/mapper.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn reset(&self) {}
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_type`
[INFO] [stdout]   --> src/mapper/mapper.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn get_type(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]   --> src/pad.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn reset(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_reg`
[INFO] [stdout]   --> src/pad.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn get_reg(&mut self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_screen`
[INFO] [stdout]   --> src/ppu/output.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn get_screen<'a>(&'a self) -> &'a Frame {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `reset`
[INFO] [stdout]    --> src/ppu/ppu2C02.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub fn reset(&mut self) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_unused`
[INFO] [stdout]   --> src/ppu/registers.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn get_unused(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_unused`
[INFO] [stdout]   --> src/ppu/registers.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn set_unused(&mut self, data: u8) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_sprite_overflow`
[INFO] [stdout]   --> src/ppu/registers.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn get_sprite_overflow(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_sprite_zero_hit`
[INFO] [stdout]   --> src/ppu/registers.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn get_sprite_zero_hit(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_vertical_blank`
[INFO] [stdout]   --> src/ppu/registers.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn get_vertical_blank(&self) -> u8 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_grayscale`
[INFO] [stdout]   --> src/ppu/registers.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn set_grayscale(&mut self, data: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_background_left`
[INFO] [stdout]   --> src/ppu/registers.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pub fn set_render_background_left(&mut self, data: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_sprites_left`
[INFO] [stdout]   --> src/ppu/registers.rs:97:12
[INFO] [stdout]    |
[INFO] [stdout] 97 |     pub fn set_render_sprites_left(&mut self, data: bool) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_background`
[INFO] [stdout]    --> src/ppu/registers.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 |     pub fn set_render_background(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_render_sprites`
[INFO] [stdout]    --> src/ppu/registers.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub fn set_render_sprites(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_enhance_red`
[INFO] [stdout]    --> src/ppu/registers.rs:120:12
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn get_enhance_red(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enhance_red`
[INFO] [stdout]    --> src/ppu/registers.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn set_enhance_red(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_enhance_green`
[INFO] [stdout]    --> src/ppu/registers.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 |     pub fn get_enhance_green(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enhance_green`
[INFO] [stdout]    --> src/ppu/registers.rs:133:12
[INFO] [stdout]     |
[INFO] [stdout] 133 |     pub fn set_enhance_green(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_enhance_blue`
[INFO] [stdout]    --> src/ppu/registers.rs:138:12
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub fn get_enhance_blue(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enhance_blue`
[INFO] [stdout]    --> src/ppu/registers.rs:142:12
[INFO] [stdout]     |
[INFO] [stdout] 142 |     pub fn set_enhance_blue(&mut self, data: bool) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_nametable_x`
[INFO] [stdout]    --> src/ppu/registers.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |     pub fn set_nametable_x(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_nametable_y`
[INFO] [stdout]    --> src/ppu/registers.rs:170:12
[INFO] [stdout]     |
[INFO] [stdout] 170 |     pub fn set_nametable_y(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_increment_mode`
[INFO] [stdout]    --> src/ppu/registers.rs:179:12
[INFO] [stdout]     |
[INFO] [stdout] 179 |     pub fn set_increment_mode(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_pattern_sprite`
[INFO] [stdout]    --> src/ppu/registers.rs:188:12
[INFO] [stdout]     |
[INFO] [stdout] 188 |     pub fn set_pattern_sprite(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_pattern_background`
[INFO] [stdout]    --> src/ppu/registers.rs:197:12
[INFO] [stdout]     |
[INFO] [stdout] 197 |     pub fn set_pattern_background(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_sprite_size`
[INFO] [stdout]    --> src/ppu/registers.rs:206:12
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn set_sprite_size(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_slave_mode`
[INFO] [stdout]    --> src/ppu/registers.rs:211:12
[INFO] [stdout]     |
[INFO] [stdout] 211 |     pub fn get_slave_mode(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_slave_mode`
[INFO] [stdout]    --> src/ppu/registers.rs:215:12
[INFO] [stdout]     |
[INFO] [stdout] 215 |     pub fn set_slave_mode(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_enable_nmi`
[INFO] [stdout]    --> src/ppu/registers.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub fn set_enable_nmi(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_unused`
[INFO] [stdout]    --> src/ppu/registers.rs:288:12
[INFO] [stdout]     |
[INFO] [stdout] 288 |     pub fn get_unused(&self) -> u8 {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_unused`
[INFO] [stdout]    --> src/ppu/registers.rs:292:12
[INFO] [stdout]     |
[INFO] [stdout] 292 |     pub fn set_unused(&mut self, data: u8) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `PIXEL_SIZE`
[INFO] [stdout]   --> src/video/frame.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | const PIXEL_SIZE: f64 = 2.3;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_border`
[INFO] [stdout]   --> src/video/frame.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn set_border(&mut self, color: Pixel) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `render`
[INFO] [stdout]   --> src/video/frame.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn render(&self, x: usize, y: usize, pixel_size: f64, context: Context, gl: &mut G2d) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `white`
[INFO] [stdout]  --> src/video/pixel.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn white() -> Pixel {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `red`
[INFO] [stdout]   --> src/video/pixel.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn red() -> Pixel {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `green`
[INFO] [stdout]   --> src/video/pixel.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn green() -> Pixel {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `blue`
[INFO] [stdout]   --> src/video/pixel.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn blue() -> Pixel {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `with_font_size`
[INFO] [stdout]   --> src/video/utils.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn with_font_size(font_size: usize, x: usize, y: usize, c: Context) -> DrawText {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     if addr >= 0x8000 && addr <= 0xFFFF {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:24:26
[INFO] [stdout]    |
[INFO] [stdout] 24 |     if addr >= 0x8000 && addr <= 0xFFFF {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     if addr >= 0 && addr <= 0x1FFF {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> src/mapper/mappers/mapper_000.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     if addr >= 0x0000 && addr <= 0x1FFF {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `ppu2C02` should have a snake case name
[INFO] [stdout]  --> src/ppu/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod ppu2C02;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `ppu2_c02`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 89 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.77s
[INFO] running `Command { std: "docker" "inspect" "4070251ecb00708052e1c2478841e241ccd73b8ff64a3b01cdb1484f278c8a36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4070251ecb00708052e1c2478841e241ccd73b8ff64a3b01cdb1484f278c8a36", kill_on_drop: false }`
[INFO] [stdout] 4070251ecb00708052e1c2478841e241ccd73b8ff64a3b01cdb1484f278c8a36
